package com.itheima.reggie.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.entity.Employee;

public interface EmployeeService extends IService<Employee> {

    Employee login(Employee employee);

    IPage<Employee> getAllEmployeesByPage (Integer page, Integer pageSize,String name);

    Integer addEmployee(Employee employee);

    Employee getEmployeeById(Long id);

    Boolean updateEmployee(Employee employee);
}
